<template>
    <el-dialog v-if="dialogVisible" :close-on-click-modal='false' title="广告账户" :visible.sync="dialogVisible" @close="resetForm()" width="600px">
        <el-table :data="tableData" class="com_table" max-height="400px" ref="planRef">
            <el-table-column prop="advertiser_id" label="账户ID" width="220">
            </el-table-column>
            <el-table-column prop="advertiser_name" label="账户名称">
            </el-table-column>
        </el-table>
        <span slot="footer" class="dialog-footer">
            <el-button size="small" type="primary" @click="resetForm()" class="el-button-width">关 闭</el-button>
        </span>
    </el-dialog>
</template>

<script>
export default {
    name: "",
    data() {
        return {
            loading: false,
            dialogVisible: false,
            tableData: [],
        };
    },
    created() {},

    methods: {
        getData(row) {
            this.dialogVisible = true
            this.tableData = row.advertiser
        },

        // 关闭重置表单
        resetForm() {
            this.dialogVisible = false;
        },
    },
    components: {},
};
</script>


<style scoped>
</style>
